package com.ruoyi.app.service.impl;

import com.ruoyi.app.domain.HospitalArea;
import com.ruoyi.app.mapper.HospitalAreaMapper;
import com.ruoyi.app.service.HospitalAreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 75460
* @description 针对表【hospital_area(k院区表)】的数据库操作Service实现
* @createDate 2025-05-15 15:31:01
*/
@Service
public class HospitalAreaServiceImpl implements HospitalAreaService{
    @Autowired
    private HospitalAreaMapper hospitalAreaMapper;
    @Override
    public List<HospitalArea> getlist() {
        return hospitalAreaMapper.getlist();
    }

    @Override
    public HospitalArea getById(Integer id) {
        return hospitalAreaMapper.getById(id);
    }

    @Override
    public HospitalArea getByIdName(Integer hospitalAreaId) {
        return hospitalAreaMapper.getByIdName(hospitalAreaId);
    }
}




